package com.code.day05;

public class DemoTest {
    public static void main(String[] args) {
        MyThread myThread = new MyThread();
        myThread.start(); //开启线程jvm会自动调用run方法 单独开启栈空间
        for(int i = 0; i < 5; i ++ ){
            System.out.println("Main thread...." + i);
        }
    }
}
